﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using OpenAuth.Repository.Core;

namespace OpenAuth.Repository.Domain
{
    /// <summary>
    /// 住院充值记录
    /// </summary>
    [Table("PayOrderZY")]
    public  class PayOrderZY : Entity
    {
        public PayOrderZY()
        {
            this.OrderNumber = string.Empty;
            this.bxh = string.Empty;
            this.hzxm = string.Empty;
            this.time = DateTime.Now;
            this.zfPhone = string.Empty;
            this.patid = string.Empty;
            this.hisdh = string.Empty;
            this.sjh = string.Empty;
            this.blh = string.Empty;
            this.jzlsh = string.Empty;
            this.yjlsh = string.Empty;
            this.hisddh = string.Empty;
        }
        /// <summary>
        /// 流水号
        /// </summary>
        [Description("流水号")]
        public string OrderNumber { get; set; }
        /// <summary>
        /// 院内卡号
        /// </summary>
        [Description("院内卡号")]
        public string bxh { get; set; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        [Description("患者姓名")]
        public string hzxm { get; set; }
        /// <summary>
        /// 支付金额
        /// </summary>
        [Description("支付金额")]
        public double? zfje { get; set; }
        /// <summary>
        /// 支付状态
        /// </summary>
        [Description("支付状态")]
        public int? zfzt { get; set; }
        /// <summary>
        /// 充值时间
        /// </summary>
        [Description("充值时间")]
        public System.DateTime? time { get; set; }
        /// <summary>
        /// 患者手机号
        /// </summary>
        [Description("患者手机号")]
        public string zfPhone { get; set; }
        /// <summary>
        /// 患者id
        /// </summary>
        [Description("患者id")]
        public string patid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Description("")]
        public string hisdh { get; set; }
        /// <summary>
        /// 收据号
        /// </summary>
        [Description("收据号")]
        public string sjh { get; set; }

        public string yjxh { get; set; }
        /// <summary>
        /// 住院号
        /// </summary>
        public string blh { get; set; }

        /// <summary>
        /// 住院就诊流水号
        /// </summary>
        public string jzlsh { get; set; }

        /// <summary>
        /// 预充值流水号
        /// </summary>
        public string yjlsh { get; set; }

        /// <summary>
        /// HIS 订单号

        /// </summary>
        public string hisddh { get; set; }
    }
}
